package designpatterns.responsibility.chain.code.log;

public class WarnLevel extends LogPrintTemplate {
    @Override
    public void process(Log log) {
        // 业务处理
        System.out.println("日志级别["+super.logLevel+"] 内容:"+log.getInfo());
    }

    public WarnLevel(String level) {
        super.logLevel = level;
    }
}
